<%@ page language="java" contentType="text/json; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
	 {
		"total":${page.totalElements },
		"rows":[
	<c:forEach var="pr" varStatus="status" items="${page.content }">
			{"id":${pr.id},"name":"${pr.person.name}","type":"${pr.type}","warn":"${pr.warn}",
			"date":"<fmt:formatDate value="${pr.date}" pattern="yy-M-d HH:mm:ss"/>","leave":"${pr.leave.reason }"}<c:if test="${!status.last }">,</c:if>
	</c:forEach>
	] 
	}
	
